package com.test.demo1.common;

import java.util.List;

public interface BaseService<T, ID> {
    int deleteByPrimaryKey(ID var1);

    T findById(ID var1);

    T selectOne(T var1);

    int save(T var1);

    List<T> selectByExample(T var1);

    int updateById(T var1);

    T queryById(ID var1);

    List<T> queryAll(T var1);
}
